<{extends file="$tpl_dir/tpl_base.htm"}>
<{block name="title"}>我的年金<{/block}>
<{block name="css" append}>
<link type="text/css" rel="stylesheet" href="<{$config.url_assets}>/css/annuity.css">
<style type="text/css">

</style>
<{/block}>
<{block name="body"}>
<div class="page-record">
  <div class="mod-box mod-cols page-record_head">
    <div class="bd">
      <div class="label">账户总额(元)</div>
      <div class="info"><{$total_amount}></div>
    </div>
    <div class="bd">
      <div class="label">本年存入(元)</div>
      <div class="info i2"><{$year_total}></div>
    </div>
  </div>
  <div class="mod-box page-record_search">
  	<div class="btn-year"><{$gets.year}>年</div>
  </div>
  <{if $records}>
  <div class="mod-rows record-list">
    <{foreach $records as $row}>
    <div class="mod-row">
      <div class="bd">
        <h2><{$row.subject}></h2>
        <p><{$row.inputtime|date_format:"%Y-%m-%d"}></p>
      </div>
      <div class="dd">
        <h2>+<{$row.amount}></h2>
        <p><{$row.total}></p>
      </div>
    </div>
	<{/foreach}>
  </div>
  <{else}>
  <div class="mod-message">
     <div class="mod-icon mod-icon_default"></div>
     <div class="mod-message_title">暂无信息</div>
  </div>
  <{/if}>
</div>
<{/block}>
<{block name="foot" append}>
<script type="text/javascript" src="<{$config.url_assets}>/js/annuity.js"></script>
<{/block}>